import request from '@/utils/request'

// 查询学生_学校关系列表
export function listUser_school(query) {
  return request({
    url: '/bbs_user_school/user_school/list',
    method: 'get',
    params: query
  })
}

// 查询学生_学校关系详细
export function getUser_school(id) {
  return request({
    url: '/bbs_user_school/user_school/' + id,
    method: 'get'
  })
}

// 新增学生_学校关系
export function addUser_school(data) {
  return request({
    url: '/bbs_user_school/user_school',
    method: 'post',
    data: data
  })
}

// 修改学生_学校关系
export function updateUser_school(data) {
  return request({
    url: '/bbs_user_school/user_school',
    method: 'put',
    data: data
  })
}

// 删除学生_学校关系
export function delUser_school(id) {
  return request({
    url: '/bbs_user_school/user_school/' + id,
    method: 'delete'
  })
}
